package com.spring.web.adminmanage.service;

import com.spring.web.adminmanage.common.PageResult;
import com.spring.web.adminmanage.entities.Role;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface RoleService extends BaseService<Role>{
	/**
	 * 分页查询
	 */
	public PageResult<Role> selectToPageResult(Integer pageSize, Integer pageNumber, String rolename);
	public List<Long> getOwnedMenuId(Long roleid);
	public void update(Role role, List<String> oml);
	public void insert(Role role, List<String> oml);
}